seajs.config({
  base: '../../sea-modules/',
  map: [
    //['${ctx}/sea-modules/jquery', '${jsRoot}/jquery'],
    //[/(\/sea\-modules\/[^(\-debug)]+?)\.js/, '$1-debug.js']
    function(uri) {
      if (!/\-debug\.(js|css)+/g.test(uri) && uri.indexOf('/app/') == -1) {
        uri = uri.replace(/\/(.*)\.(js|css)/g, '/$1-debug.$2');
      }
      return uri;
    }
  ],
  alias: {
    '$': 'jquery/jquery/1.10.1/jquery',
    '$-debug': 'jquery/jquery/1.10.1/jquery-debug',
    'jquery': 'jquery/jquery/1.10.1/jquery',
    'jquery-debug': 'jquery/jquery/1.10.1/jquery-debug',
    'alert': 'pandora/dialog/1.0.0/alert',
    'class': 'pandora/class/1.0.0/class',
    'confirm': 'pandora/dialog/1.0.0/confirm',
    'dialog': 'pandora/dialog/1.0.0/dialog',
    'draggable': 'pandora/dragdrop/1.0.0/draggable',
    'locker': 'pandora/locker/1.0.0/locker',
    'moment': 'pandora/moment/1.0.0/moment',
    'prompt': 'pandora/dialog/1.0.0/prompt',
    'styles': 'pandora/styles/1.0.0/styles',
    'tabs': 'pandora/tabs/1.0.0/tabs',
    'tempine': 'pandora/tempine/1.0.0/tempine',
    'timer': 'pandora/timer/1.0.0/timer',
    'tips': 'pandora/dialog/1.0.0/tips',
    'util': 'pandora/util/1.0.0/util',
    'validate': 'pandora/validate/1.0.0/validate',
    'bootstrap3-grid': 'jquery/bootstrap3-grid/0.6.2/bootstrap3-grid',
    'widget': 'pandora/widget/1.0.0/widget'
  }
});